package com.example.demo.service;

import com.example.demo.dao.LoginDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class LoginService {
    @Autowired
    private LoginDao loginDao;
    public Map userInfo(String name, String password) {
        return loginDao.userInfo(name, password);
    }
}
